  <script src="__CDN__/assets/js/pc/amazeui.min.js"></script>
<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<div class="widget-head am-cf">
					<div class="widget-title am-fl">编辑银行卡</div>
				</div>
				<div class="widget-body am-fr">
					<form action="" method="POST" id="editbank" class="am-form tpl-form-line-form">
						{:token()}
						<div class="am-form-group">

							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">银行卡名称：</label>
							<div class="am-u-sm-9">
								<input type="text" name="bankname" value="{$info.bankname}" style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">银行卡号码：</label>
							<div class="am-u-sm-9">
								<input type="text" name="bankcard" value="{$info.bankcard}" style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">开户地址：</label>
							<div class="am-u-sm-9">
								<input type="text" name="bankaddress" value="{$info.bankaddress}"  style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">开户人姓名：</label>
							<div class="am-u-sm-9">
								<input type="text" name="realname" value="{$info.realname}" style="float: left;">
							</div>	
						</div>
						<div class="am-form-group">
							<label for="user-phone" class="am-u-sm-3 am-form-label">是否设置为默认银行卡：</label>
							<div class="am-u-sm-9">
								<select data-am-selected="{searchBox: 0}" name="default" style="display: none;">
									<option {if condition="$info.default==1"} selected="selected" {/if} value="1">是</option>
									<option {if condition="$info.default==0"} selected="selected" {/if} value="0">否</option>
								</select>
																				
							</div>
						</div>
						<div class="am-form-group">
							<div class="am-u-sm-9 am-u-sm-push-3">
								<input type="hidden" id="infoid" value="{$info.id}" style="float: left;">
								<button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success">修改</button>
								<a href="javascript:;" id="delbank"><button type="button" class="am-btn am-btn-danger tpl-btn-bg-color-success">删除</button></a>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
</div>
   